$OpenBSD: patch-src_cairo_pc_in,v 1.1 2013/01/30 13:17:51 brad Exp $
--- src/cairo.pc.in.orig	Tue Jan 29 07:56:53 2013
+++ src/cairo.pc.in	Tue Jan 29 08:22:13 2013
@@ -8,6 +8,6 @@ Description: Multi-platform 2D graphics library
 Version: @VERSION@
 
 @PKGCONFIG_REQUIRES@: @CAIRO_REQUIRES@
-Libs: -L${libdir} -lcairo
+Libs: -L${libdir} -Wl,-rpath-link,${X11BASE}/lib -lcairo
 Libs.private: @CAIRO_NONPKGCONFIG_LIBS@
 Cflags: -I${includedir}/cairo
